package com.chinaisafe.user.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.chinaisafe.user.vo.response.SysAccountRespVO;
import com.chinaisafe.user.entity.SysAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * SysAccountMapper
 * Description：账号Mapper接口
 *
 * @author xuefu.shu
 * @date 2024-07-12 09:55:54
 */
@Mapper
public interface SysAccountMapper extends BaseMapper<SysAccount> {
    /**
     * 根据条件获取账号分页列表
     * @param page 分页对象
     * @param queryWrapper 筛选参数
     * @return IPage<SysAccountRespVO> 查询结果
     * @author xuefu.shu
     * @date 2024-07-12 09:55:54
     */
    IPage<SysAccountRespVO> getPageList(Page<SysAccount> page, @Param(Constants.WRAPPER) QueryWrapper<SysAccount> queryWrapper);
}
